package com.jnu.weather.dao;

import com.jnu.weather.po.City;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface CityRepository extends JpaRepository<City,Integer> {
public List<City> findAllByCityLike(String city);
public City findAllByCityid(String cityid);
}
